package cn.z2huo.knowledge.reflect.clazz;

/**
 * <p>
 *
 * @author z2huo
 */
class ClassTest {

    public static void main(String[] args) {
        String string = "aaa";
        Class<? extends String> aClass = string.getClass();
        System.out.println(aClass.getComponentType());

        String[] array = {"asdfa", "adfa", "dd"};
        Class<? extends String[]> aClass2 = array.getClass();
        System.out.println(aClass2.getComponentType());
    }
}
